package com.myblog.mapper;

import com.myblog.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lhj
 * @since 2022-06-10
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {

    /**
     * 获取所有文章
     * @return
     */
    List<Article> selectPage();
}
